#include <fstream>
#include <iostream>

using namespace std;

int main(int argc, char *argv[])
{
  fstream fs;
  fs.open("aaa");
  if(!(fs.is_open())) {
    clog<<"file "<<*argv<<" failed"<<endl;
    return 1;
  }
  else{
    fs<<"fuck you"<<endl;
  }
  fs.close();
  return 0;
}
